def find_trailing_zeroes(num: int) -> int:
    cnt = 0
    while num:
        num = num//5
        cnt += num
    return cnt

print(find_trailing_zeroes(5))